/**
 * @author adagys
 */

package com.eu.chipin.backend;

import java.io.Serializable;
import java.util.List;

public class Trip implements Serializable {
	/*
	 * Name of the trip
	 */
	public String name;
	/*
	 * A list of participants of the trip
	 */
	List<Member> members;
	
	public Trip(String name, List<Member> members) {
		super();
		this.name = name;
		this.members = members;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Member> getMembers() {
		return members;
	}
	public void setMembers(List<Member> members) {
		this.members = members;
	}
	
	public String toString() {
	  return name;
	}
	
	
}
